<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Responsive Admin Dashboard Template">
    <meta name="keywords" content="admin,dashboard">
    <meta name="author" content="hehehe">

    <!-- Title -->
    <title>问题详情</title>

    <!-- Styles -->
    <link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="assets/plugins/icomoon/style.css" rel="stylesheet">
    <link href="assets/plugins/uniform/css/default.css" rel="stylesheet"/>
    <link href="assets/plugins/bootstrap-datepicker/css/datepicker3.css" rel="stylesheet" type="text/css"/>
    <link href="assets/plugins/bootstrap-colorpicker/css/bootstrap-colorpicker.css" rel="stylesheet" type="text/css"/>
    <link href="assets/plugins/bootstrap-tagsinput/bootstrap-tagsinput.css" rel="stylesheet" type="text/css"/>
    <link href="assets/plugins/bootstrap-timepicker/css/bootstrap-timepicker.min.css" rel="stylesheet" type="text/css"/>
    <link href="assets/plugins/toastr/toastr.min.css" rel="stylesheet">

    <!-- Theme Styles -->
    <link href="assets/css/ecaps.min.css" rel="stylesheet">
    <link href="assets/css/custom.css" rel="stylesheet">


</head>
<body>

<!-- Page Container -->
<div class="page-container">
    <!-- Page Sidebar -->

    <div id="sidebar" class="page-sidebar">
<div class="page-sidebar-inner">
    <a class="logo-box" href="index.html">
        <span>考试神器</span>
        <i class="icon-radio_button_unchecked" id="fixed-sidebar-toggle-button"></i>
        <i class="icon-close" id="sidebar-toggle-button-close"></i>
    </a>
    <div class="page-sidebar-menu">
        <ul class="accordion-menu">
            <li id="index">
                <a href="index.html">
                    <i class="menu-icon icon-home4"></i><span>我的主页</span>
                </a>
            </li>
            <li id="paper">
                <a href="paper.html">
                    <i class="menu-icon icon-newspaper"></i><span>我的试卷</span>
                </a>
            </li>
            <li id="exam">
                <a href="exam.html">
                    <i class="menu-icon icon-text_format"></i><span>考试中心</span>
                </a>
            </li>
            <li id="class">
                <a href="class.html">
                    <i class="menu-icon icon-class"></i><span>我的班级</span>
                </a>
            </li>
            <li id="question" class="active-page">
                <a href="question.html">
                    <i class="menu-icon icon-inbox"></i><span>我的题目</span>
                </a>
            </li>
        </ul>
    </div>
</div>

    </div>
    <!-- Page Content -->
    <div class="page-content">
        <!-- Page Header -->
        <div id="header" class="page-header">
            <div class="search-form">
                <form action="search.html" method="GET">
                    <div class="input-group">
                        <input type="text" name="search" class="form-control search-input"
                               placeholder="Type something...">
                        <span class="input-group-btn">
				<button class="btn btn-default" id="close-search" type="button"><i class="icon-close"></i></button>
			</span>
                    </div>
                </form>
            </div>
            <nav class="navbar navbar-default">
                <div class="container-fluid">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <div class="logo-sm">
                            <a href="javascript:void(0)" id="sidebar-toggle-button"><i class="fa fa-bars"></i></a>
                            <a class="logo-box" href="index.html"><span>考试神器</span></a>
                        </div>
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                                data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                            <i class="fa fa-angle-down"></i>
                        </button>
                    </div>

                    <!-- Collect the nav links, forms, and other content for toggling -->

                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li><a href="javascript:void(0)" id="collapsed-sidebar-toggle-button"><i
                                    class="fa fa-bars"></i></a>
                            </li>
                            <li><a href="javascript:void(0)" id="toggle-fullscreen"><i class="fa fa-expand"></i></a>
                            </li>
                            <li><a href="javascript:void(0)" id="search-button"><i class="fa fa-search"></i></a></li>
                        </ul>
                        <ul class="nav navbar-nav navbar-right">
                            <!--                <li><a href="javascript:void(0)" class="right-sidebar-toggle" data-sidebar-id="main-right-sidebar"><i-->
                            <!--                        class="fa fa-envelope"></i></a></li>-->
                            <!--                <li class="dropdown">-->
                            <!--                    <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button"-->
                            <!--                       aria-haspopup="true" aria-expanded="false"><i class="fa fa-bell"></i></a>-->
                            <!--                </li>-->
                            <li id="loginname" style="display: inline">
                                <a href="login.html">
                                    <img src="assets/images/head.png" alt="" class="img-circle">
                                    <text><strong>登录</strong></text>

                                </a>
                            </li>
                            <li id="loginli" class="dropdown user-dropdown" style="display: none">
                                <a href="login.html" class="dropdown-toggle" data-toggle="dropdown" role="button"
                                   aria-haspopup="true"
                                   aria-expanded="false">
                                    <img src="assets/images/head.png" alt="" class="img-circle">
                                    <text><strong id="uname">登录</strong></text>
                                </a>

                                <ul class="dropdown-menu">
                                    <!--                        <li><a href="#">个人中心</a></li>-->
                                    <!--                        <li><a href="#">日历</a></li>-->
                                    <!--                        <li><a href="#"><span class="badge pull-right badge-danger">42</span>信息</a></li>-->
                                    <!--                        <li role="separator" class="divider"></li>-->
                                    <li><a href="updpassword.html">修改密码</a></li>
                                    <li><a id="logout" onclick="logout()">退出登录</a></li>
                                </ul>
                            </li>
                        </ul>
                    </div><!-- /.navbar-collapse -->
                </div><!-- /.container-fluid -->
            </nav>

        </div><!-- /Page Header -->
        <!-- Page Inner -->
        <div class="page-inner">
            <div class="page-title">
                <h3 class="breadcrumb-header" id="timename">下午好，HDAWN！</h3>
            </div>
            <div id="main-wrapper">
                <div class="row">
                    <div class="col-md-10">
                        <div class="panel panel-white">
                            <div class="panel-heading clearfix">
                                <h4 class="panel-title">题目详情
                                    <div style="float: right">
                                        <button onclick="isDisabledQuestion()" class="btn btn-default btn-xs">修改
                                        </button>
                                    </div>
                                </h4>
                            </div>
                            <div class="panel-body">
                                <form class="form-horizontal">
                                    <div class="form-group">
                                        <label for="questionName" class="col-sm-2 control-label">题目名</label>
                                        <div class="col-sm-10">
                                            <input disabled type="text" class="form-control" id="questionName">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">题目类型</label>
                                        <div class="col-sm-10">
                                            <select disabled id="questiontype" onchange="hidechose()"
                                                    style="margin-bottom:15px;" class="form-control">
                                                <option value="1">单选题</option>
                                                <option value="2">多选题</option>
                                                <option value="3">填空题</option>
                                                <option value="4">简答题</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group hidechose">
                                        <label for="ansA" class="col-sm-2 control-label">A</label>
                                        <div class="col-sm-10">
                                            <input disabled type="text" class="form-control" id="ansA">
                                        </div>
                                    </div>
                                    <div class="form-group hidechose">
                                        <label for="ansB" class="col-sm-2 control-label">B</label>
                                        <div class="col-sm-10">
                                            <input disabled type="text" class="form-control" id="ansB">
                                        </div>
                                    </div>
                                    <div class="form-group hidechose">
                                        <label for="ansC" class="col-sm-2 control-label">C</label>
                                        <div class="col-sm-10">
                                            <input disabled type="text" class="form-control" id="ansC">
                                        </div>
                                    </div>
                                    <div class="form-group hidechose">
                                        <label for="ansD" class="col-sm-2 control-label">D</label>
                                        <div class="col-sm-10">
                                            <input disabled type="text" class="form-control" id="ansD">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="ans"
                                               class="col-sm-2 control-label">答案</label>
                                        <div class="col-sm-10">
                                            <input disabled type="text" class="form-control" id="ans"
                                                   placeholder="单选题输入单个选项，例如:A，多选题输入多个选项，例如:ACD，多选题和简答题直接输入答案">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"> </label>
                                        <div class="col-sm-3">
                                            <input style="display: none" type="reset" value="重置"
                                                   class="btn btn-default btn-xs">
                                            <input style="display: none" type="button" value="提交"
                                                   onclick="updQuestion()"
                                                   class="btn btn-default btn-xs">
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div><!-- Row -->

            </div>
            <div class="page-footer">
                <!-- <p>Copyright &copy; 2018.Company name All rights reserved.<a target="_blank"								href="http://sc.chinaz.com/moban/">&#x7F51;&#x9875;&#x6A21;&#x677F;</a></p> -->
            </div>
        </div><!-- /Page Inner -->
    </div><!-- /Page Content -->
</div><!-- /Page Container -->
<a id="box" type="button" class="btn btn-default btn-xs btn-rounded"
   style="position: fixed;right: 5%;bottom: 50px;cursor: pointer;display: none">返回顶部</a>

<!-- Javascripts -->
<script src="assets/plugins/jquery/jquery-3.1.0.min.js"></script>
<script src="assets/plugins/jquery-cookie/jquery.cookie.js"></script>
<script src="assets/plugins/toastr/toastr.min.js"></script>
<script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/plugins/uniform/js/jquery.uniform.standalone.js"></script>
<script src="assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<script src="assets/js/pages/form-elements.js"></script>
<script src="assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script src="assets/plugins/bootstrap-colorpicker/js/bootstrap-colorpicker.js"></script>
<script src="assets/plugins/bootstrap-tagsinput/bootstrap-tagsinput.min.js"></script>
<script src="assets/plugins/bootstrap-timepicker/js/bootstrap-timepicker.min.js"></script>
<script src="assets/js/ecaps.min.js"></script>
<script src="assets/js/load.js"></script>

<script type="text/javascript">
    if (getCookie("USER") !== null) {
        getQuestionById(getUrlParams("id"));
    } else {
        window.location.href = "login.html";
    }

</script>
</body>
</html>